import {getData,postData,path,del} from "./../http"
// postData,path,del
export let getDataList = () => {
  return getData("/admin/routing-settings")
}
// 添加路由
export let routAdd = (data) => {
  return postData("/admin/routing-settings",data)
}
// 修改路由
export let routEdit = (id,data) => {

  return path("/admin/routing-settings/"+id,data)
}
// 删除路由
export let routDel = (id) => {
  return del("/admin/routing-settings/"+id)
}
